@charset "UTF-8";
.color-primary {
  color: var(--color-primary);
}
.color-warning {
  @include font_color('warning_color');
}
.color-success {
  @include font_color('success_color');
}
//layout
.t-layout {
  @include themeify {
    color: themed('font_color');
    background-color: themed('background_color');
  }
  .t-menu__logo {
    img {
      width: 35px;
    }
    h2 {
      margin-left: 6px;
      font-size: 24px;
      color: var(--iconfont-default);
    }
  }
  .t-default-menu__inner {
    .t-menu__logo:not(:empty) {
      height: calc($header_height + 1px);
      justify-content: center;
      @include themeify {
        border-bottom: 1px solid themed('border_color');
        background-color: themed('page_bg_color');
      }
    }
  }
  &__header {
    height: calc($header_height + 1px);
    @include themeify {
      border-bottom: 1px solid themed('border_color');
      background-color: themed('page_bg_color');
    }
    .t-head-menu {
      // background-color:themed("page_bg_color");
      .t-menu__logo:not(:empty) {
        // margin-left: 48px;
        @include themeify {
          background-color: themed('page_bg_color');
          color: themed('font_color');
        }
      }
    }
    .t-head-menu__inner {
      height: $header_height;
      // background-color: themed("page_bg_color");
      @include themeify {
        background-color: themed('page_bg_color');
        color: themed('font_color');
      }
      .t-menu__logo {
        img {
          margin-left: 48px;
        }
      }
    }
  }
  &__sider {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  &__content {
    height: calc(100vh - $header_height - 1px);
    overflow-y: auto;
  }
  &.t-layout--with-sider > .t-layout {
    flex: 1;
    min-width: 760px;
  }
}
// main
.table-box {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.main-box {
  display: flex;
  width: 100%;
  height: 100%;
  .table-box {
    width: calc(100% - 230px);
  }
}
.t-scrollbar {
  position: relative;
  overflow: auto;
  scrollbar-color: var(--td-scrollbar-color) transparent;
  scrollbar-width: thin;
  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border: 0px solid transparent;
    background-clip: content-box;
    background-color: var(--td-scrollbar-color);
    border-radius: 11px;
    &:vertical:hover,
    &:horizontal:hover {
      background-color: var(--td-scrollbar-hover-color);
    }
  }
}
.card {
  @include background_color('page_bg_color');
  padding: 24px;
  border-radius: 8px;
  @include shadow_color('shadow_color');
  &.lg {
    padding: 32px;
  }
}
.title {
  display: block;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  @include font_color('font_color');
  &.icon {
    display: flex;
    align-items: center;
    .img {
      margin-right: 12px;
    }
    &::before {
      content: '';
      width: 5px;
      height: 20px;
      background-color: var(--color-primary);
      border-radius: 1px 4px 4px 1px;
      margin-right: 12px;
    }
  }
}
.search-input-group {
  .t-input--suffix {
    padding-right: 0;
    .t-input__suffix {
      margin-left: 0;
      width: 32px;
      justify-content: center;
      @include themeify {
        border-left: 1px solid themed('border_color');
        background-color: themed('split_color');
      }
      .t-button {
        width: 100%;
        padding: 0;
        border: 0;
        @include background_color('split_color');
      }
    }
    &.t-size-l {
      .t-input__suffix {
        width: 40px;
        height: 40px;
      }
    }
  }
}
.toolbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.action-group {
  .icon-text-group {
    cursor: pointer;
    & + .icon-text-group {
      margin-left: 24px;
    }
    .text {
      font-size: 14px;
      font-weight: 400;
      display: none;
    }
    &.text-edit {
      @include font_color('warning_color');
    }
    &.text-rule {
      @include font_color('success_color');
    }
    &.text-data {
      color: var(--color-primary);
    }
    &.text-remove {
      @include font_color('error_color');
    }
    &.text-export {
      @include font_color('export_color');
    }
    &:hover {
      .icon {
        display: none;
      }
      .text {
        display: inline-block;
      }
    }
  }
}
.border {
  @include themeify {
    border: 1px solid themed('border_color');
  }
  border-radius: var(--td-radius-default);
  &-right {
    @include themeify {
      border-right: 1px solid themed('border_color');
    }
  }
  &-left {
    @include themeify {
      border-left: 1px solid themed('border_color');
    }
  }
  &-top {
    @include themeify {
      border-top: 1px solid themed('border_color');
    }
  }
  &-bottom {
    @include themeify {
      border-bottom: 1px solid themed('border_color');
    }
  }
}
.filter {
  width: 248px;
  margin-right: 15px;
}
.patch-button {
  transition: 0.3s all;
  .t-icon-check,
  .t-icon-arrow-down,
  .t-icon-delete,
  .t-icon-arrow-up,
  .t-icon-search,
  .t-icon-wallet,
  .t-icon-edit-1,
  .t-icon-ellipsis {
    padding: 2px;
    @include themeify {
      border: 1px solid var(--color-primary);
      color: themed('warning_color');
    }
  }
}
.define-container .vue-grid-item.vue-grid-placeholder {
  @include background_color('primary_color');
}
.box-center {
  width: 1200px;
  margin: 0 auto;
}
.tipsText {
  @include font_color('placeholder_color');
}
#nprogress {
  .bar {
    background: var(--color-primary) !important;
    z-index: 9999999 !important;
  }
}
.text {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  @include font_color('font_color');
  &-caption {
    @include font_color('secondery_color');
  }
}
